2024-07-09T13:22:47.508+08:00  INFO 25072 --- [http-nio-8080-exec-5] com.example.demo.api.MessageSessionAPI   : [addMessageSession] 新增会话成功! sessionId=3, userId1=1, userId2=4
2024-07-09T15:42:00.262+08:00  WARN 25072 --- [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1h27m14s3ms46µs600ns).
2024-07-09T15:54:15.493+08:00  INFO 25072 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-07-09T15:54:15.500+08:00  INFO 25072 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-07-09T15:54:19.053+08:00  INFO 21920 --- [main] c.example.demo.JavaChatroomApplication   : Starting JavaChatroomApplication using Java 17.0.10 with PID 21920 (E:\java项目\java_chatroom\target\classes started by 王丛发 in E:\java项目\java_chatroom)
2024-07-09T15:54:19.058+08:00  INFO 21920 --- [main] c.example.demo.JavaChatroomApplication   : No active profile set, falling back to 1 default profile: "default"
2024-07-09T15:54:19.556+08:00  INFO 21920 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-07-09T15:54:19.558+08:00  INFO 21920 --- [main] o.a.catalina.core.AprLifecycleListener   : An older version [1.2.39] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
2024-07-09T15:54:19.558+08:00  INFO 21920 --- [main] o.a.catalina.core.AprLifecycleListener   : Loaded Apache Tomcat Native library [1.2.39] using APR version [1.7.4].
2024-07-09T15:54:19.561+08:00  INFO 21920 --- [main] o.a.catalina.core.AprLifecycleListener   : OpenSSL successfully initialized [OpenSSL 3.0.11 19 Sep 2023]
2024-07-09T15:54:19.567+08:00  INFO 21920 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-07-09T15:54:19.567+08:00  INFO 21920 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.25]
2024-07-09T15:54:19.600+08:00  INFO 21920 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-07-09T15:54:19.601+08:00  INFO 21920 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 519 ms
2024-07-09T15:54:19.948+08:00  INFO 21920 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2024-07-09T15:54:19.953+08:00  INFO 21920 --- [main] c.example.demo.JavaChatroomApplication   : Started JavaChatroomApplication in 1.133 seconds (process running for 1.403)
2024-07-09T15:54:44.198+08:00  INFO 21920 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-09T15:54:44.198+08:00  INFO 21920 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-07-09T15:54:44.199+08:00  INFO 21920 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-07-09T15:54:44.283+08:00  INFO 21920 --- [http-nio-8080-exec-2] com.example.demo.api.UserAPI             : 当前获取不到 session 对象
2024-07-09T15:54:44.283+08:00  INFO 21920 --- [http-nio-8080-exec-5] com.example.demo.api.FriendAPI           : session 不存在
2024-07-09T15:54:44.283+08:00  INFO 21920 --- [http-nio-8080-exec-7] com.example.demo.api.MessageSessionAPI   : 获取 session 失败
2024-07-09T15:54:46.905+08:00  INFO 21920 --- [http-nio-8080-exec-9] com.example.demo.api.UserAPI             : 用户登录, username:zhangsan, password:123
2024-07-09T15:54:46.920+08:00  INFO 21920 --- [http-nio-8080-exec-9] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-07-09T15:54:47.008+08:00  INFO 21920 --- [http-nio-8080-exec-9] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6ed850a9
2024-07-09T15:54:47.009+08:00  INFO 21920 --- [http-nio-8080-exec-9] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
